package com.cedarhd.brzx.dto.request;

import com.cedarhd.brzx.common.enums.VerificationCodeTypeEnum;
import com.cedarhd.brzx.domain.annotation.NotEmptyXs;
import com.cedarhd.brzx.domain.annotation.PhoneXs;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * @author Evan
 * @date 2018/4/27
 */
@Data
public class SendVerificationCodeDTO {
    @ApiModelProperty(value = "商户用户标识",required = true)
    @NotEmptyXs(message = "bizUserId不能为空")
    private String bizUserId;

    @ApiModelProperty(value = "手机号码",required = true)
    @PhoneXs(message = "phone格式不正确")
    private String phone;

    @ApiModelProperty(value = "短信类型(BIND-绑定，UNBIND-解绑)",required = true)
    private VerificationCodeTypeEnum verificationCodeType;
}
